package com.twb.core.base.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.twb.core.util.DateUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.time.LocalDateTime;

/** 
 * @ClassName BaseDto 
 * @Description 基础返回对象
 * @author DSY
 * @date 2019年6月22日 下午6:19:54 
 */ 
@SuppressWarnings("all")
@ApiModel(value="BaseDto",description="基础返回对象")
public class BaseDto implements Serializable{


	/**
	 * 创建人机构ID
	 */
	@JsonInclude(JsonInclude.Include.NON_NULL)
	@ApiModelProperty("创建人机构ID")
	protected String creatorOrgid;

    /**
     * 创建人用户名
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty("创建人用户名")
    protected String creatorId;

    /**
     * 创建人名称
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty("创建人名称")
    protected String creator;

    /**
     * 创建时间
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonFormat(pattern = DateUtil.DEFAULT_PATTERN)
    @ApiModelProperty(name="createDate",value="创建时间",example="2019-06-22 00:00:00")
    protected LocalDateTime createDate;

    /**
     * 更新人用户名
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty("更新人用户名")
    protected String updaterId;

    /**
     * 更新人名称
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty("更新人名称")
    protected String updater;

    /**
     * 更新时间
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonFormat(pattern = DateUtil.DEFAULT_PATTERN)
    @ApiModelProperty(name="updateDate",value="更新时间",example="2019-06-22 00:00:00")
    protected LocalDateTime updateDate;



	public String getCreatorId() {
		return creatorId;
	}
	public void setCreatorId(String creatorId) {
		this.creatorId = creatorId;
	}
	public String getCreator() {
		return creator;
	}
	public void setCreator(String creator) {
		this.creator = creator;
	}
	public LocalDateTime getCreateDate() {
		return createDate;
	}
	public void setCreateDate(LocalDateTime createDate) {
		this.createDate = createDate;
	}
	public String getUpdaterId() {
		return updaterId;
	}
	public void setUpdaterId(String updaterId) {
		this.updaterId = updaterId;
	}
	public String getUpdater() {
		return updater;
	}
	public void setUpdater(String updater) {
		this.updater = updater;
	}
	public LocalDateTime getUpdateDate() {
		return updateDate;
	}
	public void setUpdateDate(LocalDateTime updateDate) {
		this.updateDate = updateDate;
	}

	public String getCreatorOrgid() {
		return creatorOrgid;
	}

	public void setCreatorOrgid(String creatorOrgid) {
		this.creatorOrgid = creatorOrgid;
	}

}
